package cn.itrip.dto;

/**
 * @Author: wangrj
 * @Date: 2019/5/17 上午10:26
 */
public class Dto<T> {

    private String errorCode;//编码信息
    private String msg;//对应的提示信息
    private String success;//结果信息，成功返回success，失败返回fail
    private T data;//返回具体的数据内容

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
